<template>
  <div class="q-pa-md q-pb-lg">
    <t-badge color="secondary">
      Model: {{ value }} (-20 to 20, step 4)
    </t-badge>

    <t-slider
      v-model="value"
      :min="-20"
      :max="20"
      :step="4"
      label
      label-always
      color="light-green"
    />

    <t-badge color="secondary">
      Model: {{ value }} (-20 to 20, step 4)
    </t-badge>

    <t-slider
      v-model="value"
      :min="-20"
      :max="20"
      :step="4"
      label
      label-always
      switch-label-side
      color="red"
    />
  </div>
</template>

<script>
  import { ref } from 'vue';

  export default {
    setup() {
      return {
        value: ref(0),
      };
    },
  };
</script>
